class FeedbacksController < ApplicationController
  def new
    @feedback = Feedback.new
  end
  
  def create
    @feedback = Feedback.new(params[:feedback])
    if @feedback.save
      flash[:notice] = "Your feedback has been submitted.  Thank you!"
      redirect_to '/'
    else
      render :action => 'new'
    end
  end
end
